%%This file allows the user to pause Matlab script and do some stuff
Str = 'PauseButton'; eval(strcat(Str,' = load(''',Str,'.txt'');'))
if PauseButton == 1
    keyboard
%     PauseButton = 0;
%     Str = 'PauseButton'; eval(sprintf('FID = fopen(''%s.txt'',''w''); fprintf(FID,''%%i\\n'',%s); fclose(FID);',Str,Str));
end